﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="DocumentoVentaOPTEditForm.aspx.cs" 
Inherits="UILGestion.VentaAdmin.DocumentoVenta.DocumentoVentaOPTEditForm" %>
<%@ Register Assembly="WebLib" Namespace="WebLib" TagPrefix="lib" %>

<%@ Register src="../../Control/menuCtrl.ascx" tagname="menuCtrl" tagprefix="uc2" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<%@ Register src="PendienteFactConceptoPanel.ascx" tagname="PendienteFactConceptoPanel" tagprefix="uc1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <link href="../../css/main.css" rel="stylesheet" type="text/css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/fonts.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/global.css" />
 <link rel="stylesheet" type="text/css" href="../../estilos/_common/styles/theme.css" />
    <script src="../../Scripts/BuscarOrdenVentaItem.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
    <input id="idOrdenVenta" type="hidden" runat="server" />
    <input id="idProyecto" type="hidden" runat="server" />
      <uc2:menuCtrl ID="menuCtrl1" runat="server" />

       <asp:ToolkitScriptManager ID="ToolkitScriptManager2" runat="server" 
      EnableScriptGlobalization="true"  EnablePartialRendering="true" />

       <asp:Panel ID="pnlMain" runat="server"
  
                CssClass="Heading secTitle AreaHeading ms-crm-List-Header "  >
<asp:Label ID="Label2" runat="server" Text="SELECCION DE CONCEPTO PENDIENTES DE FACTURACION " 
            style="font-size: large; color: #960818"></asp:Label>
</asp:Panel>



<br />


        <table class="ui-accordion" style="background-color:White">


  <tr>
                                                  <td align="right" width="100px">
                                                      Cliente:</td>
                                                  <td width="550px" >
                                                      <lib:Input ID="clienteTXT" runat="server" DataType="List"
                                                       method="GetOrdenVentaItem"  ReadOnly="true"
                                                                                                             
                                                        NumColum="5"
                                                      backcolor="#DFE8F6"
                                                          onchange="javascript:validarOrdenVentaItem(this);"
                                                            AutoPostBack="true"
                                                          OnSelect="SelectOrdenVentaItem" Width="250px"></lib:Input>
                                                  </td>
                                                  <td >
                                                      &nbsp;</td>
                                              </tr>
  <tr>
                                             <td align="right" width="100px">
                                                
                                                  Nombre:</td>
                                             <td width="550px" >
                                                 <lib:Input ID="cliente1TXT" runat="server" BackColor="Transparent" 
                                                     ReadOnly="true" Width="300px"></lib:Input>
                                             </td>
                                             <td >
                                                 &nbsp;</td>
                                         </tr>
    <tr>
                                             <td align="right" width="100px">
                                                
                                                      Etapa:</td>
                                             <td width="550px" >
                                                 <lib:Input ID="etapaTXT" runat="server" BackColor="Transparent" 
                                                     ReadOnly="true" Width="100px"></lib:Input>
                                                 <lib:Input ID="localizacionTXT" runat="server" BackColor="Transparent" 
                                                     ReadOnly="true" Width="300px"></lib:Input>
                                                 </td>
                                             <td >
                                                      &nbsp;</td>
                                         </tr>

         
                                          <tr>
                                             <td align="right" width="100px">
                                                
                                                  Unidad Inmobiliaria:</td>
                                             <td width="550px" >
                                                
                                                 <asp:DropDownList ID="UIDDL" runat="server" AutoPostBack="true" 
                                                     Width="200px">
                                                 </asp:DropDownList>
                                              </td>
                                             <td >
                                                 &nbsp;</td>
                                         </tr>
                                          <tr>
                                             <td align="right" width="100px">
                                                
                                                  Moneda:</td>
                                             <td width="550px" >
                                                 <asp:DropDownList ID="monedaDDL" runat="server" Width="250px" AutoPostBack="true">
                                                 </asp:DropDownList>
                                             </td>
                                             <td >
                                                 &nbsp;</td>
                                         </tr>
                                         </table>
    
    <asp:UpdatePanel runat="server" ID="pendienteUPNL" UpdateMode="Conditional">
    <ContentTemplate>
    
    

     <uc1:PendienteFactConceptoPanel ID="PendienteFactConceptoPanel1"  DataSourceID="PendientePagoPanelODS"   runat="server" />
       <asp:ObjectDataSource ID="PendientePagoPanelODS" runat="server" EnablePaging="True" 
        SelectCountMethod="Count" SelectMethod="Execute" 
        SortParameterName="sortExpression"
        TypeName="BOL.Ventas.GetPendienteFactConceptoList">
        <SelectParameters>
            <asp:ControlParameter Name="idMoneda" Type="Int32" ControlID="monedaDDL"/>
            <asp:ControlParameter Name="idOrdenVentaItem" Type="Int32" ControlID="UIDDL"/>
            <asp:Parameter Name="startRowIndex" Type="Int32" />
            <asp:Parameter Name="maximumRows" Type="Int32" />
            <asp:Parameter Name="sortExpression" Type="String" />
        </SelectParameters>
    </asp:ObjectDataSource>
    </ContentTemplate>
    <Triggers>
    
    <asp:AsyncPostBackTrigger ControlID="UIDDL" />
    <asp:AsyncPostBackTrigger ControlID="monedaDDL" />

    </Triggers>
    </asp:UpdatePanel>
    <br />
    <asp:LinkButton ID="siguienteLKB" runat="server" Text="Siguiente"  class="button"
        onclick="siguienteLKB_Click"></asp:LinkButton>

   

    </form>
</body>
</html>
